Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.webengine.mobile.pageproviders.contrib

Contributions

XML Source

<component name="org.nuxeo.webengine.mobile.pageproviders.contrib">

  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

      <coreQueryPageProvider name="search_core_default">
        <property name="coreSession">#{documentManager}</property>
        <whereClause docType="DefaultSearch">
          <fixedPart>
            ecm:mixinType != 'HiddenInNavigation' AND ecm:isProxy = 0
            AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
            AND SORTED_COLUMN IS NOT NULL
          </fixedPart>
          <predicate parameter="ecm:fulltext" operator="FULLTEXT">
            <field schema="default_search" name="ecm_fulltext" />
          </predicate>
          <predicate parameter="dc:creator" operator="IN">
            <field schema="default_search" name="dc_creator" />
          </predicate>
          <predicate parameter="dc:created" operator="BETWEEN">
            <field schema="default_search" name="dc_created_min" />
            <field schema="default_search" name="dc_created_max" />
          </predicate>
          <predicate parameter="dc:subjects" operator="STARTSWITH">
            <field schema="default_search" name="dc_subjects" />
          </predicate>
          <predicate parameter="dc:coverage" operator="STARTSWITH">
            <field schema="default_search" name="dc_coverage" />
          </predicate>
          <predicate parameter="ecm:path" operator="STARTSWITH">
            <field schema="default_search" name="ecm_path" />
          </predicate>
          <predicate parameter="collectionMember:collectionIds" operator="IN">
            <field schema="default_search" name="ecm_collections" />
          </predicate>
        </whereClause>
        <sort column="dc:title" ascending="true" />
        <pageSize>20</pageSize>
      </coreQueryPageProvider>

  </extension>
</component>